# -*- coding: utf-8 -*-
from django.contrib import admin
from models import Profile

class ProfileAdmin(admin.ModelAdmin):
    # list options
    list_display = ('display_name', 'user',)
    list_display_links = ('display_name', 'user',)
    search_fields = ['display_name', 'user__username']

    fields = ('user', 'display_name', 'contact',
              'markup', 'description', 'website',)
    
admin.site.register(Profile, ProfileAdmin)